Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env support #1425

Merged
merged 3 commits into from
Oct 27, 2023
Merged

.env support #1425

merged 3 commits into from
Oct 27, 2023

Conversation

siddhantk232
Copy link
Contributor

@siddhantk232 siddhantk232 commented Oct 26, 2023

closes #1424

  • if there's a .env file in CWD, parse it and set env vars from it
  • create-package should generate a .gitignore file that contains .env
    file
  • check if the .env file is checked in, panic and proceed only when
    FASTN_DANGER_ACCEPT_CHECKED_IN_ENV is set

- if there's a .env file in CWD, parse it and set env vars from it
- create-package should generate a .gitignore file that contains .env
  file
- check if the .env file is checked in, panic and proceed only when
  FASTN_DANGER_ACCEPT_CHECKED_IN_ENV is set
@amitu
Copy link
Contributor

amitu commented Oct 27, 2023

In case FASTN_DANGER_ACCEPT_CHECKED_IN_ENV is on, issue a warning as well.

@amitu amitu merged commit fcf243c into fastn-stack:main Oct 27, 2023
1 check passed
siddhantk232 added a commit to siddhantk232/fastn.com that referenced this pull request Oct 28, 2023
amitu pushed a commit to fastn-stack/fastn.com that referenced this pull request Nov 2, 2023
amitu pushed a commit that referenced this pull request Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

.env support
2 participants